<?php
   $totalShots = Shots::where( 'status', 1 )->count();
   $totalDesigners = User::where( 'status', 'active' )->count();
 ?>
<!-- ***** Footer ***** -->
    <footer class="footer-main">
    	<div class="container">
    		
    		<div class="row text-center">
    			<div class="col-md-12">
    				<a href="<?php echo URL::to('/'); ?>">
    					<img width="90px" src="<?php echo URL::asset('public/img/logo-watermark.png'); ?>" />
    				</a>
    			   <p class="desc-footer"><?php echo $settings->description; ?></p>
    			</div><!-- ./End col-md-* -->
    			
    			<div class="col-md-12 margin-tp-xs">
    				<strong class="number-shots"><?php echo Helper::formatNumber( $totalShots ); ?></strong> <?php echo Lang::choice('misc.shots_plural',$totalShots); ?> - 
    				<strong class="number-shots"><?php echo Helper::formatNumber( $totalDesigners ); ?></strong> <?php echo Lang::choice('misc.designers_plural',$totalDesigners); ?>

    				<ul class="list-inline">
    					<?php if( $settings->twitter != '' ): ?>
					   <li><a href="<?php echo $settings->twitter; ?>" class="ico-social"><i class="fa fa-twitter"></i></a></li>
					    <?php endif; ?>
					    
					    <?php if( $settings->facebook != '' ): ?>
					   <li><a href="<?php echo $settings->facebook; ?>" class="ico-social"><i class="fa fa-facebook"></i></a></li>
					   <?php endif; ?>
					   
					   <?php if( $settings->instagram != '' ): ?>
					   <li><a href="<?php echo $settings->instagram; ?>" class="ico-social"><i class="fa fa-instagram"></i></a></li>
					   <?php endif; ?>
					   
					   <?php if( $settings->linkedin != '' ): ?>
					   <li><a href="<?php echo $settings->linkedin; ?>" class="ico-social"><i class="fa fa-linkedin"></i></a></li>
					   <?php endif; ?>
					   
					   <?php if( $settings->googleplus != '' ): ?>
					   <li><a href="<?php echo $settings->googleplus; ?>" class="ico-social"><i class="fa fa-google-plus"></i></a></li>
				       <?php endif; ?>
				    </ul>
    			</div><!-- ./End col-md-* -->
    			    			
    			<div class="col-md-12">
    				<ul class="list-inline">
    		<?php foreach( Pages::all() as $page ): ?>
        			<li><a class="link-footer" href="<?php echo URL::to('/').'/'.$page->slug; ?>"><?php echo $page->title; ?></a></li>
        	<?php endforeach; ?>
        	<li><a class="link-footer" href="<?php echo URL::to('api'); ?>"><?php echo Lang::get('misc.api'); ?></a></li>
    				</ul>
    			</div><!-- ./End col-md-* -->
    			
    			<div class="col-md-12">
    				<p>&copy; <?php echo $settings->title; ?> - <?php echo date('Y'); ?></p>
    			</div><!-- ./End col-md-* -->
    			
    		</div><!-- ./End Row -->
    	</div><!-- ./End Container -->
    </footer><!-- ***** Footer ***** -->